package com.Ajou.Talky2;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;

class MessageBoxDBHelper extends SQLiteOpenHelper {

	public MessageBoxDBHelper(Context context) {
		super(context, "allad.db", null, 1);
		Log.w("111", "222");
	}

	public void onCreate(SQLiteDatabase db) {
		// db.execSQL("CREATE TABLE OutMessageBox(  messageID VARCHAR PRIMARY KEY  NOT NULL, receiveTo  VARCHAR, subject VARCHAR, content VARCHAR, contentType  VARCHAR, contentSize INTEGER, date VARCHAR,checkDelivery INTEGER, checkRead INTEGER, mainContent TEXT);");
		// }
	}

	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		// db.execSQL("DROP TABLE IF EXISTS OutMessageBox");
		// onCreate(db);
	}
}